-- GENERATED SPELL FOR [Felguard Brute] --


function spell0_18894(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(15615,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18894', 5261, 1)
end

function spell1_18894(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(18072,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18894', 642, 1)
end

function Sorts_18894(pUnit, Event)
local choix_sorts_18894 = math.random(0, 1)
if choix_sorts_18894 == 0 then
pUnit:RegisterEvent('spell0_18894', 1, 1)
end
if choix_sorts_18894 == 1 then
pUnit:RegisterEvent('spell1_18894', 1, 1)
end
end

function mob18894_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18894', math.random(1500, 3000), 1)
end

function mob18894_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18894_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18894_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18894, 1, 'mob18894_Action')
RegisterUnitEvent(18894, 2, 'mob18894_Leave')
RegisterUnitEvent(18894, 3, 'mob18894_Kill')
RegisterUnitEvent(18894, 4, 'mob18894_Die')
